package cn.itcast.bos.quartz.service.impl;

import java.util.Date;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.itcast.bos.dao.take_delivery.PromotionRepository;
import cn.itcast.bos.quartz.service.PromotionService;

@Service
@Transactional
public class PromotionServiceImp implements PromotionService {
	
	@Autowired
	private PromotionRepository promotionRepository;

	@Override
	public void update(Date date) {
		promotionRepository.update(date);
	}

}
